// export const showMarkRate = (mark) => {
//   return mark === undefined ? '--' : '',
// };
export const showMarkMoney = (moneyList, ind) => {
  const val = moneyList.length === ind ? moneyList[ind - 1] : moneyList[ind]
  if (!val) return '--'
  return moneyList.length === ind ? `${moneyList[ind - 1]}¥以上` : `${val}¥以内（含）`
}
export const showMonney = (money) => {
  return (money === undefined || money === null) ? '--' : `${money}¥`
}

export const showRate = (rate) => {
  return rate === undefined ? '--' : `${rate}%`
}
